import Vue from 'vue';

import App from './App';
import router from './router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import constVar from './global/const/index';
import ini from './global/ini/index.js';
import client from './global/client/index.js';
if (!process.env.IS_WEB) Vue.use(require('vue-electron'));
Vue.use(ElementUI);
/* eslint-disable no-new */
// new Vue({
//   components: { App },
//   router,
//   store,
//   template: '<App/>',
// }).$mount('#app');

// The Vue build version to load with the `import` command

Vue.config.productionTip = false;
Vue.prototype.$CONST = constVar;
Vue.prototype.memberWillPast = false;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  created() {},
});

